<?php dynamic_sidebar('sidebar-footer'); ?>
<footer class="footer">
    <div class="page">
        <div class="container-fluid">
            <div class="row-fluid">
                <div class="headpad">
                    <div class="span12">
                        <div class="span2">
                            <img src="<?php echo get_template_directory_uri() ?>/assets/img/Texas_stamp.png" alt="Texas Stamp" />
                        </div>
                        <div class="span2 offset1">
                            <dl class="footerContent">
                                <dt>Site</dt>
                                <?php
                                if (has_nav_menu('site_links')) :
                                  wp_nav_footer('site_links');
                                endif;
                                ?>
                            </dl>
                        </div>
                        <div class="span2">
                            <dl>
                                <dt class="footerHeader">Helpful Links</dt>
                                <?php
                                if (has_nav_menu('helpful_links')) :
                                  wp_nav_footer('helpful_links');
                                endif;
                                ?>
                            </dl>                                   
                        </div>
                        <div class="span2">
                            <dl>
                                <dt class="footerHeader">Finance</dt>
                                <?php
                                if (has_nav_menu('finance')) :
                                  wp_nav_footer('finance');
                                endif;
                                ?>
                            </dl>
                        </div>
                         <div class="span2">
                            <dl>
                                <dt class="footerHeader">State Links</dt>
                                <?php
                                if (has_nav_menu('state_links')) :
                                  wp_nav_footer('state_links');
                                endif;
                                ?>
                            </dl>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</footer>
<?php wp_footer(); ?>
<script type="text/javascript">
    $(document).ready(function(){
            $("#my-alert").bind('closed', function () {
                    var date=new Date();
                    var expireDays=1;
                    date.setTime(date.getTime()+expireDays*24*3600*1000);
                    document.cookie="spa_alert=true;expires="+date.toGMTString()+";path=/";
            });
            $("#my-error").bind('closed', function () {
                    var date=new Date();
                    var expireDays=1;
                    date.setTime(date.getTime()+expireDays*24*3600*1000);
                    document.cookie="spa_error=true;expires="+date.toGMTString()+";path=/";
            });
            if(document.cookie.indexOf("spa_alert=true")>=0){
                    $("#my-alert").remove();
            }
            if(document.cookie.indexOf("spa_error=true")>=0){
                    $("#my-error").remove();
            }
    });
</script>
<script type="text/javascript">var switchTo5x=false;</script>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "19702e49-469f-4a64-8c7b-7960cf835e9e", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>